package com.example.yk2021xm04.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.yk2021xm04.pojo.Notice;
import com.example.yk2021xm04.query.NoticeQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiYongle
 * @since 2021-11-30
 */
public interface INoticeService extends IService<Notice> {
    void addNotice(Notice notice);

    Map<String, Object> noticeList(NoticeQuery noticeQuery);

    void deleteNotice(Integer[] ids);

    void updateNotice(Notice notice);

    List<Object> anTimeByDay();

    List<Object> anCountByDay();

    Integer NoticeCountInDay();

    Integer NoticeCountInYesterday();
}
